<%--
  Created by IntelliJ IDEA.
  User: joker
  Date: 2019/10/21
  Time: 13:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
    <script>
        $('#weibo').click(function () {
            window.location.href="http://localhost:8080/jsp/blogList.jsp";
        })

        $('#zhanghu').click(function () {
            var quan = $('#quanxian').val();
            if(quan==2){
                window.location.href="http://localhost:8080/jsp/blogList.jsp";
            }else{
                window.location.href="http://localhost:8080/jsp/updateUser.jsp";
            }
        })
    </script>
</head>
<body>
<form action="/user//updatePwd.do" method="GET">
    <input type="text" hidden="hidden" value="${supper}" id="quanxian">
    <button id="weibo">微博管理</button><br><br>
    <button id="zhanghu">账户管理</button><br><br>
    用户名:<input type="text" name="username" value="${sessionScope.id}" /><br />
    密码:&nbsp;&nbsp;&nbsp;<input type="password" name="password" /><br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="编辑数据"/>
</form>
</body>
</html>
